<?php	
class UsersController extends AppController {

	var $name = 'Users';
	var $scaffold;
	var $paginate = array('limit' => 15, 'page' => 1);
 
	function beforeFilter(){
		$this->Auth->allow('add');	
	}
		
	function login()
	{
		$this->Auth->login();
	}
	
	function logout()
	{  
		$this->redirect($this->Auth->logout());  
		$this->redirect($this->Auth->login());
	}
}
?>